/*ElementPlus中设置的z-index,造成遮挡住ImagePreview显示，需要去掉*/
.el-table .el-table__cell{
    z-index:unset !important;
}

.el-radio-button {
    --el-radio-button-disabled-checked-fill: var(--el-color-primary) !important;
}
.topmsg{
    z-index: 100000 !important;
}

/*消息提示框中的文字保持换行*/
.el-message-box__message {
    white-space: pre-wrap;
}

.el-checkbox {
    --el-checkbox-input-height: 24px !important;
    --el-checkbox-input-width: 24px !important;
}

.el-checkbox.el-checkbox--large .el-checkbox__inner{
    width: 24px !important;
    height: 24px !important;
}

.el-checkbox.el-checkbox--small .el-checkbox__inner{
    width: 24px !important;
    height: 24px !important;
}


.el-checkbox__inner::after {
    border-width: 2px !important;
    height: 16px !important;
    left: 10px !important;
    top: 10px !important;
    width: 10px !important;
}

.el-dialog{
    --el-dialog-padding-primary:4px;
}

.el-dialog__body{
    padding:8px !important;
    margin: 4px !important;
}

.el-checkbox-button.is-checked .el-checkbox-button__inner {
    /*不允许disabled状态修改背景颜色*/
    background-color: var(--el-checkbox-button-checked-bg-color) !important;
}
.el-radio__input.is-disabled+span.el-radio__label{
    color:var(--el-color-primary) !important;
}
.el-form--label-top .el-form-item .el-form-item__label{
    margin:8px 0 0 0 !important;
}
.el-form--label-right label{
    text-align: right !important;;
}

.el-form-item {
    padding:4px;
    margin-bottom: 2px !important;
}

.el-form-item__error{
    display: none !important;
}

.el-checkbox-group .el-checkbox {
    display: inline-flex;
    text-align: left !important;
    white-space: break-spaces;
}

.el-message-box__container{
    max-height: 70vh !important;
    overflow: auto !important;
}

.el-dialog__body{
    max-height: 85vh !important;
    overflow: auto !important;
}